package cn.hongwei.service;

import cn.hongwei.dao.OrderDao;
import cn.hongwei.dao.UserDao;
import org.springframework.stereotype.Service;

/**
 * @author Great
 * @email 1224028994@qq.com
 */
@Service
public class UserService {
    private OrderDao orderDao;
    private UserDao userDao;

    public void setOrderDao(OrderDao orderDao) {
        this.orderDao = orderDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void test1(){
        orderDao.orderTest();
    }

    public void test2(){
        userDao.userDaoTest();
    }
}
